Package-level declarations

Types

Link copied to clipboard
@Serializable
sealed class RevenueWithdrawalState

This object describes the state of a revenue withdrawal operation. Currently, it can be one of

Link copied to clipboard
@Serializable
data class StarTransaction(val id: String, val amount: Int, val date: Instant, val source: TransactionPartner? = null, val receiver: TransactionPartner? = null)

Describes a Telegram Star transaction.

Link copied to clipboard
@Serializable
data class StarTransactions(val transactions: List<StarTransaction>)

Contains a list of Telegram Star transactions.

Link copied to clipboard
@Serializable
sealed class TransactionPartner

This object describes the source of a transaction, or its recipient for outgoing transactions. Currently, it can be one of